<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Login</title>
<link rel="shortcut icon" href="images/zk.ico" type="image/x-icon" />
<link rel="stylesheet" href="lib/layui/css/layui.css">
<link rel="stylesheet" href="css/login.css">
<link rel="stylesheet" href="css/bootstrap.min.css" />
<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
</head>
<body>
	<h4>药品 库存 页面</h4>
	<table class="table">
		<tr>
			<td>药名</td>
			<td>库存</td>
			<td>生产日期</td>
			<td>过期日期</td>
			<td>种类</td>
			<td>厂商</td>
		</tr>
		<c:forEach items="${dlist }" var="d" varStatus="status">
			<tr>
				<td>${d.drname}</td>
				<td>${d.drnum}</td>
				<td>${d.drstart}</td>
				<td>${d.drstop}</td>
				<td>${d.type.tname}</td>
 				<td>${d.supp.pname}</td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>